//
//  HDOperationTools.h
//  HDOperationProject
//
//  Created by Mirko on 15/10/30.
//  Copyright (c) 2015年 Mirko. All rights reserved.
//

#import <Foundation/Foundation.h>


typedef NS_ENUM(NSInteger, EOperationFolderType)
{
    kOperationFolderTypeRoot,
    kOperationFolderTypeRss
};

typedef NS_ENUM(NSInteger, EOperationFileType)
{
    kOperationFileTypeActivitiesDataName,
};

@interface HDOperationTools : NSObject

+(NSString *) getFolderPath:(EOperationFolderType)type operationId:(NSString *) operationId;
+(NSString *) getFilePath:(EOperationFileType)type operationId:(NSString *) operationId;
+(NSString *) getActivitiesImageFilePath:(NSString *) imageUrl operationId:(NSString *) operationId;

/** 创建广告图文件夹 */
+ (NSString *)getAdImageFolderPath;

/** 获取广告信息plist文件路径 */
+ (NSString *)getAdInfoPlistPath;

/** 把一个图片拷贝到ad_image目录中 */
+ (BOOL)copyImageToAdimageFoldWithImagePath:(NSString *)filePath newImageName:(NSString *)newImageName;

/** 删除某个文件 */
+ (BOOL)removeFileWithPath:(NSString *)path;

/** 删除一组文件 */
+ (BOOL)removeFilesWithPaths:(NSArray *)paths;

//////////// 时间相关

/** 获取当前时区的时间戳 */
+ (NSTimeInterval)getDefaultTimeZoneTimeInterval;

// 获取，格林威治时区时间戳
+ (NSTimeInterval)getGMTTimeZoneTimeInterval;

@end
